package nit.wave.utils;


import java.io.IOException;
import java.util.Timer;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class ServerRun extends HttpServlet {
	private static final long serialVersionUID = 1L;
	private Timer timer = null;

	public void init(ServletConfig config) throws ServletException {
		super.init(config);
		timer = new Timer(true);
		timer.schedule(new ServerTodo(), 0, 1000 *2);
	}

	public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
	}

	public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
	}

	public void destroy() {
	}
}